<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%-- Using Struts2 Tags in JSP --%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
    <link rel="stylesheet" href="style.css" />
    <title>NetConsole</title>
</head>
    <body>
<s:include value="home.jsp"></s:include>
<s:if test="%{#session['connecte']==true}" >
                <s:form action="modifUser" cssClass="texte">
                    <s:textfield name="id" label="Login"></s:textfield>
                    <s:password name="pwd" label="Password"></s:password>
                    <s:textfield name="name" label="Name"></s:textfield>
                    <s:textfield name="email" label="Email"></s:textfield>
                    <s:if test="%{#session['droits']==3}" ><s:textfield name="droits" label="droits"></s:textfield></s:if>
                    <s:submit value="Modify" align="center"></s:submit>
                </s:form>
</s:if>
    </body>
</html>

